from django.http import HttpResponse
from matchme.models import Thought
import matchmeapi

def list(request):
	#thoughts = Thought.objects.filter(user=request.user)
	#s=''
	#for i in thoughts:
	#	s=s+i.thought+"<br>"
	s='<h1>'+request.user.username+'</h1>'
	s=s+matchmeapi.getAllThoughts()
	return HttpResponse(s)
